Skip to content

Warnings for configuration set and records - #62

Merged
bpuchala merged 5 commits into
prisms-center:2.Xfrom
xivh:ConfigurationSet
Oct 2, 2026
Merged

bpuchala merged 5 commits into
prisms-center:2.Xfrom
xivh:ConfigurationSet

Conversation

@xivh

@xivh xivh commented May 26, 2026

Copy link
Copy Markdown
Contributor
  • Warning if ConfigurationSet has duplicates instead of silently dropping them during from_dict
  • Warning if ConfigurationSet.add_record reuses a configuration name but the configuration is different instead of duplicating
  • Warnings for comparing Configuration, ConfigurationRecord, and ConfigurationWithProperties
  • Warning for comparing Supercell and SupercellRecord

These could also be upgraded to errors. Another similar change I would like to make to ConfigurationSet is a way to test if it contains non-canonical supercells and raise a warning, and then this method can be called in various places such as when saving EnumData.

@bpuchala
bpuchala merged commit a5a0b15 into prisms-center:2.X Oct 2, 2026
12 checks passed
@bpuchala bpuchala mentioned this pull request Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants